package com.hqj.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableEurekaClient
@EnableHystrixDashboard
@EnableZuulProxy //开启Zuul网关
public class ZuulStarter6001 {

    public static void main(String[] args) {
        SpringApplication.run(ZuulStarter6001.class,args);
    }
}
